<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/11/16
 * Time: 9:46
 */

namespace app\admin\validate\user;


use think\Validate;

class UserWithdraw extends Validate
{

    protected $rule = [
        'card_id'=>'require',
        'money'=>'require|gt:0'
    ];
    protected $message = [
        'card_id.require'=>'请选择银行卡',
        'money.gt'=>'金额不能小于0',
        'money.require'=>'请输入金额',
    ];

}